<?php include TMPL_PATH.'public/header.phtml';?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
    	<div style="float:left;margin-right:50px;">
        <a href='javascript:;' class="on"><em>团单列表</em></a>
      </div>
    </div>
</div>
<div class="bk"></div>
<div class="pad_10">
<div class="table-list">
    <table width="100%" cellspacing="0" >
        <thead>
            <tr>
            <th width="20%">日期</th>
            <th align='center' width="20%">邮件标题</th>
            <th align='center' width="20%">邮箱</th>
            <th align='center' width="20%">姓名</th>
			<th align='center' width="20%">操作</th>
            </tr>
        </thead>
    <tbody>
    <?php 
   	if(isset($list) && $list):
   		foreach ($list as $v):
   ?>
			<tr>
					<td align='center'><?php echo date('Y-m-d H:i:s', $v['creat_time']);?></td>
					<td align='center'><?php echo $v['title']?></td>
					<td align='center'><?php echo $v['email']?></td>
					<td align='center'><?php echo $v['name'];?></td>
					<td align='center'><a href="<?php echo U('user/wedding_group_info','id='.$v['id'])?>">查看</a></td>
				</tr>
	<?php 
		endforeach;
		endif;
	?>
   </tbody>
    </table>
   <div class="btn"></div>
<div id="pages"><?php echo $pageShow;?></div>
</div>
</div>
</body>
</html>